<template>
  <div id="app">
    <Layout>
      <template #left>
        <div class="left-container">
          <SiteAside></SiteAside>
        </div>
      </template>
      <template>
        <router-view></router-view>
        <ToTop></ToTop>
      </template>
    </Layout>
  </div>
</template>

<script>
import SiteAside from "@/components/SiteAside";
import Layout from "@/components/Layout";
import ToTop from "@/components/ToTop";
export default {
  name: "App",
  components: {
    SiteAside,
    Layout,
    ToTop,
  },
};
</script>

<style lang="less" scoped>
@import "~@/style/mixin.less";
#app {
  height: 100%;
  background-color: #fff;
}
.left-container {
  width: 250px;
  height: 100%;
}
</style>
